
// GraphViewDlg.h : header file
//

#pragma once

#include "ResizeDlg.h"
#include "GraphCtrl.h"
#include "TableView.h"

// CGraphViewDlg dialog
class CGraphViewDlg : public CResizeDlgCtrl
{
// Construction
public:
	CGraphViewDlg(CWnd* pParent = NULL);	// standard constructor

// Dialog Data
	enum { IDD = IDD_GRAPHVIEW_DIALOG };

	protected:
	virtual void DoDataExchange(CDataExchange* pDX);	// DDX/DDV support


// Implementation
protected:
	HICON m_hIcon;

	// Generated message map functions
	virtual BOOL OnInitDialog();
	afx_msg void OnSysCommand(UINT nID, LPARAM lParam);
    LRESULT OnGetDefID(WPARAM wp, LPARAM lp);
	afx_msg void OnPaint();
	afx_msg HCURSOR OnQueryDragIcon();
    afx_msg void OnAddLink();
    afx_msg void OnAddStation();
    afx_msg void OnAppExit();
    afx_msg void OnFileOpen();
	afx_msg void OnMouseMove(UINT nFlags, CPoint point);
	afx_msg BOOL OnMouseWheel(UINT nFlags, short zDelta, CPoint pt);
	afx_msg void OnLButtonDown(UINT nFlags, CPoint point);
	afx_msg void OnGenerate();
	DECLARE_MESSAGE_MAP()
private:
    GraphCtrl   _graph;
    CTableView  _tableView;
    CString		_graphFile;
};
